package com.fx.device.service.activit;

import com.fx.device.common.util.ReturnMessage;
import com.fx.device.vo.activit.ProUser;

public interface ProcessInstanceService {
    ReturnMessage<Object> getInstances(ProUser proUser, int page, int size);

    ReturnMessage<Object> startProcess(String processDefinitionKey, String instanceName);

    ReturnMessage<Object> startProcessWithVar(String processDefinitionKey, String instanceName, String instanceVariable);

    ReturnMessage<Object> deleteInstance(String instanceID);

    ReturnMessage<Object> suspendInstance(String instanceID);

    ReturnMessage<Object> resumeInstance(String instanceID);

    ReturnMessage<Object> variables(String instanceID);
}
